package com.nameless.feign;

import com.nameless.entity.Car;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author keluoyisi
 * @program: car-parent
 * @description: car的feign
 * @date 2023-03-03 17:21:52
 */
@FeignClient("car-cars")
public interface CarFeign {

    @GetMapping("/cars/car/getCarByShopId/{shopId}")
    Car getCarByShopId(@PathVariable Integer shopId);
}
